package com.mrjy.queries.dto;

import org.springframework.format.annotation.DateTimeFormat;

public class MiniMyQAQDTO {
	private int rows; // 每页记录条数
	private int page; // 分页页码
	private int pageStart; // 每页起始记录下标
	
	/**
	 * 提问者id
	 */
	private Integer userId ;
	/**
	 * 问题id
	 */
	private Integer questionId ;
	/**
	 * 提问内容
	 */
	private String questionContent ;
	/**
	 * 时间
	 */
	private String createTime ;
	/**
	 * 回答者id
	 */
	private Integer replierId ;
	/**
	 * 回答者名称
	 */
	private String replierName ;
	/**
	 * 回答者微信头像
	 */
	private String headImgUrl ;
	/**
	 * 回答者系统头像
	 */
	private String picName ;
	/**
	 * 回答类型(0：待回答；1：文字回答；2：语音回答)
	 */
	private String replyType ;
	/**
	 * 评论内容
	 */
	private String commentContent ;
	/**
	 * 语音资源id
	 */
	private Integer recordId;
	/**
	 * 语音资源名称
	 */
	private String recordName ;
	/**
	 * 语音资时长
	 */
	private String duration;
	
	
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
		this.pageStart = (page - 1) * rows; // 设置每页起始记录下标
	}

	public int getPageStart() {
		return pageStart;
	}

	public void setPageStart(int pageStart) {
		this.pageStart = pageStart;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public String getQuestionContent() {
		return questionContent;
	}

	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getReplierId() {
		return replierId;
	}

	public void setReplierId(Integer replierId) {
		this.replierId = replierId;
	}

	public String getReplierName() {
		return replierName;
	}

	public void setReplierName(String replierName) {
		this.replierName = replierName;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getPicName() {
		return picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public String getReplyType() {
		return replyType;
	}

	public void setReplyType(String replyType) {
		this.replyType = replyType;
	}

	public String getCommentContent() {
		return commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public String getRecordName() {
		return recordName;
	}

	public void setRecordName(String recordName) {
		this.recordName = recordName;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public Integer getRecordId() {
		return recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

}
